/**
 * Copyright (c) 2006 eMundo GmbH. All Rights Reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 * MA  02110-1301, USA.
 *
 * Project: agil-client-web
 * File: GwtParameterDTO.java
 *
 */

package eu.emundo.agilpro.web.client.dto;

import java.util.HashMap;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * DTO for transfering parameters between client and server
 * 
 * @author Fabian Wohlschl\u00E4ger
 */
public class GwtParameterDTO implements IsSerializable {
	/**
	 * This field is a Map that must always contain Strings as keys and String[]
	 * as values.
	 * 
	 * @gwt.typeArgs <java.lang.String,java.lang.String[]>
	 */
	private HashMap mParameters = new HashMap();

	/**
	 * For getting the parameters. The keys are Strings and the values String[]
	 * 
	 * @return the parameters
	 */
	public HashMap getParameters() {
		return mParameters;
	}

	/**
	 * For setting the parameters
	 * 
	 * @param pParameters
	 *            the parameters to set. The keys should be Strings and the
	 *            values String[]
	 * 
	 * @gwt.typeArgs pParameters <java.lang.String,java.lang.String[]>
	 */
	public void setParameters(HashMap pParameters) {
		mParameters = pParameters;
	}

}
